<?php 

require "../gobal.php";



function getSettings(){

	$vid=$_GET["vid"];
	
	$sql="select * from upgrade_setting where device_id=$vid";

	echo '{"list":[{"Id":431,"VersionId":41,"PlanList":"144,147","PlanPrice":349.0000},{"Id":432,"VersionId":41,"PlanList":"145,147","PlanPrice":549.0000},{"Id":448,"VersionId":41,"PlanList":"443,445","PlanPrice":380.0000},{"Id":449,"VersionId":41,"PlanList":"444,445","PlanPrice":530.0000}]}';
}



header("Content-type: application/json; charset=utf-8"); 

$action=$_GET["action"] ;



switch($action){


	case "getSettings": getSettings();break;

	default : break;

}

?>